package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.model.QuestionOption;

import java.util.List;

@Mapper
public interface QuestionOptionMapper extends BaseMapper<QuestionOption> {
    // 根据问题ID查询所有选项
    List<QuestionOption> findByQuestionId(Long questionId);
} 